﻿using System;
using System.Collections.Generic;
using System.Text;
using MonoTouch.SQLite;
using LinkNote.Model;

namespace LinkNote.Core
{
    public enum AttachmentType { Audio, Video, Picture, File }

    [Buffer]
    public class AttachmentBlock : BaseModel
    {
        [PrimaryKey, AutoIncrement]
        public override int ID { get; set; }
        public int noteid { get; set; }

        public AttachmentType type { get; set; }
        public int pos { get; set; }
        public string name { get; set; }
        public string file { get; set; }
        public int remoteId { get; set; }
        public string remoteFile { get; set; }
    }
}
